package cn.framelife.rainbow.ui.entity;

/**
 * 反向功能向导中的控件值
 * 
 * @ClassName: ReverseProperty
 * @author 潘广伟 p_3er@qq.com
 * @date 2013年12月5日 下午3:42:18
 * 
 */
public class ReverseProperty {
	/**
	 * 选中的项目名称
	 */
	private String selectionProjectName;
	/**
	 * 包名
	 */
	private String packageURL;
	/**
	 * 是否生成实体类
	 */
	private boolean isPOJO = true;
	/**
	 * 是否把实体类更新到配置文件
	 */
	private boolean isUpdateConfigFile = true;
	/**
	 * 是否生成DAO类
	 */
	private boolean isDAO = false;
	/**
	 * DAO的类型，1为BaseDao,2为Dao类加接口
	 */
	private int daoType = 1;
	/**
	 * 是否生成Service类
	 */
	private boolean isService = false;
	/**
	 * 是否生成Service类
	 */
	private boolean isAction = false;
	/**
	 * WebRoot的目录
	 */
	private String webRoot;
	/**
	 * 是否给项目加入S2SH的JAR包
	 */
	private boolean isJARs = false;
	/**
	 * 是否生成页面
	 */
	private boolean isPage = false;
	/**
	 * 是否生成MenuAction
	 */
	private boolean isMenuAction = false;
	
	public boolean isMenuAction() {
		return isMenuAction;
	}

	public void setMenuAction(boolean isMenuAction) {
		this.isMenuAction = isMenuAction;
	}

	public boolean isPage() {
		return isPage;
	}

	public void setPage(boolean isPage) {
		this.isPage = isPage;
	}

	public boolean isJARs() {
		return isJARs;
	}

	public void setJARs(boolean isJARs) {
		this.isJARs = isJARs;
	}

	public String getWebRoot() {
		return webRoot;
	}

	public void setWebRoot(String webRoot) {
		this.webRoot = webRoot;
	}

	public String getSelectionProjectName() {
		return selectionProjectName;
	}

	public void setSelectionProjectName(String selectionProjectName) {
		this.selectionProjectName = selectionProjectName;
	}

	public String getPackageURL() {
		return packageURL;
	}

	public void setPackageURL(String packageURL) {
		this.packageURL = packageURL;
	}

	public boolean isPOJO() {
		return isPOJO;
	}

	public void setPOJO(boolean isPOJO) {
		this.isPOJO = isPOJO;
	}

	public boolean isUpdateConfigFile() {
		return isUpdateConfigFile;
	}

	public void setUpdateConfigFile(boolean isUpdateConfigFile) {
		this.isUpdateConfigFile = isUpdateConfigFile;
	}

	public boolean isDAO() {
		return isDAO;
	}

	public void setDAO(boolean isDAO) {
		this.isDAO = isDAO;
	}

	public int getDaoType() {
		return daoType;
	}

	public void setDaoType(int daoType) {
		this.daoType = daoType;
	}

	public boolean isService() {
		return isService;
	}

	public void setService(boolean isService) {
		this.isService = isService;
	}

	public boolean isAction() {
		return isAction;
	}

	public void setAction(boolean isAction) {
		this.isAction = isAction;
	}
}
